import { createRouter, createWebHistory } from 'vue-router'
import AddModel from '@/components/content/Model/AddModel.vue'
import InitialPage from '@/components/content/DefaultPage/InitialPage.vue'
import LayerSplit from '@/components/content/Split/LayerSplit.vue'
import ActiveCZML from '@/components/content/CZML/ActiveCZML.vue'
import ActiveCZMLPoi from '../components/content/CZML/ActiveCZMLPoi.vue'
import ActiveCZMLModel from '../components/content/CZML/ActiveCZMLModel.vue'

export default createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            component: InitialPage
        },
        {
            path: "/Model/AddModel",
            component: AddModel
        },
        {
            path: "/Split/LayerSplit",
            component: LayerSplit
        },
        {
            path: "/CZML/ActiveCZML",
            component: ActiveCZML
        },
        {
            path: "/CZML/ActiveCZMLPoi",
            component: ActiveCZMLPoi
        },
        {
            path: "/CZML/ActiveCZMLModel",
            component: ActiveCZMLModel
        }
    ]
})